package com.yu.crm.mapper;

import com.yu.crm.domain.pojo.CrmPointPatrol;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 巡更点 Mapper 接口
 * </p>
 *
 * @author pan
 * @since 2020-09-23
 */
public interface CrmPointPatrolMapper extends BaseMapper<CrmPointPatrol> {

    CrmPointPatrol findPrePointById(@Param("routePatrolId") Long routePatrolId, @Param("sort") Integer sort);

    CrmPointPatrol findPostPointById(Long routePatrolId, Integer sort);
}
